﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="MSH.Common.Business" assembly="Common">

<class name="FacebookFriend" table="FacebookFriend">

  <id name="ID">
    <generator class="native">
      <param name="sequence">SeqFacebookFriendID</param>
    </generator>
  </id>

  <property name="FriendFbID">
    <column name="FriendFbID" not-null="false"  />
  </property>
  
  <many-to-one name="User"
    column="ParentUser" cascade="none" fetch="join" not-null="true"/>

</class>

</hibernate-mapping>

